           package com.java.diagnostics.visualizer.parser.vgc.constants;
           
           public class WRTEvents extends Enumerator
           {
             public static final String TRIGGER_START = "trigger start";
             public static final String TRIGGER_END = "trigger end";
             public static final String SYNCHGC = "sync gc";
             public static final String TRIGGER_START_3 = "trigger-start";
             public static final String TRIGGER_END_3 = "trigger-end";
             public static final String SYNCGC = "syncgc";
             public static final String SYSTEM_GC = "system GC";
             public static final String OOM = "out of memory";
             public static final String HEARTBEAT = "heartbeat";
             private static final String[] STRINGS = { "trigger start", "trigger end", "heartbeat", "sync gc", 
               "trigger-start", "trigger-end", "syncgc", "system GC", "out of memory" };
           
             private static final String[] DISPLAY_NAMES = { "trigger start", "trigger end", "heartbeat", "sync gc", 
               "trigger start", "trigger end", "syncgc", "system GC", "out of memory" };
           
             private static final Enumerator instance = new WRTEvents();
           
             public static final int TRIGGER_START_INT = nameToInt("trigger start");
             public static final int TRIGGER_END_INT = nameToInt("trigger end");
             public static final int SYNCHGC_INT = nameToInt("sync gc");
             public static final int TRIGGER_START_3_INT = nameToInt("trigger-start");
             public static final int TRIGGER_END_3_INT = nameToInt("trigger-end");
             public static final int SYNCGC_INT = nameToInt("syncgc");
             public static final int HEARTBEAT_INT = nameToInt("heartbeat");
           
             protected String[] getStrings()
             {
               return STRINGS;
             }
           
             public static int nameToInt(String name) {
               return instance.internalNameToInt(name);
             }
           
             public static String intToName(int number) {
               return instance.internalIntToName(number);
             }
           
             public static String intToDisplayName(int number) {
               if ((number < 0) || (number > DISPLAY_NAMES.length - 1)) {
                 return "unknown";
               }
               return DISPLAY_NAMES[number];
             }
           }

